<?php
$dynCSSOut = '<link href="js/datepicker/datepicker_dashboard/datepicker_dashboard.css" media="screen" type="text/css" rel="stylesheet" />';

$dynJSOut = '<script src="js/datepicker/Locale.en-US.DatePicker.js" language="javascript"></script>
		  <script src="js/datepicker/Picker.js" language="javascript"></script>
		  <script src="js/datepicker/Picker.Attach.js" language="javascript"></script>
		  <script src="js/datepicker/Picker.Date.js" language="javascript"></script>
		  <script src="js/autocompleter/Observer.js" language="javascript"></script>
		  <script src="js/autocompleter/Autocompleter.js" language="javascript"></script>
		  <script src="js/autocompleter/Autocompleter.Request.js" language="javascript"></script>
		  ';
		  

if(get('form') == 'Sales' || get('form') == 'Purchase' || get('form') == 'Manual' || get('form') == 'null')
{
	$dynJS = 'var gtotalStart = 0;';
}
else
{
	$initTotal = 10;
	$dynJS = 'var gtotalStart = '.$initTotal;
}
?>